make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 16 Aug 2022 21:35:10 +0000 (22:35 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 16 Aug 2022 21:35:10 +0000 (22:35 +0100)
commitfaebbd019be70e3a7273fd7cdc7a7bb61319575a
treed43a4e23651839e110a161d0dcee2371dfa7e327
parent0279e57b59b55a30d528066a2edc90bb81861454
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c